package com.eb.enumeration;

import com.eb.constant.Constant;
import com.eb.constant.ExpConstant;

/**
 * 业务操作类型
 */
public enum OperationType {

    /**
     * 收藏操作
     */
    PRESERVE("收藏", ExpConstant.PRESERVE_EXP),

    /**
     * 点赞操作
     */
    LIKE("点赞",ExpConstant.LIKE_EXP),
    /**
     * 评论操作
     */
    COMMENT("评论",ExpConstant.COMMENT_EXP),
    /**
     * 浏览操作
     */
    LOOK("浏览",ExpConstant.LOOK_EXP);

    private String name;
    public Integer experience;
    OperationType(){

    }
    OperationType(String name,Integer experience){
        this.name = name;
        this.experience = experience;
    }

    public String getName()
    {
        return this.name;
    }
    public Integer getExperience()
    {
        return this.experience;
    }





}
